package com.mall.czlr.app.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId("id") private Long id;
    @TableField("username") private String username;
    @TableField("password") private String password;
    @TableField("nickname") private String nickname;
    @TableField("avatar") private String avatar;
    @TableField("create_time") private Long createTime;
    @TableField("update_time") private Long updateTime;
}
